package foo.bar.wiki.web.filter;

import javax.servlet.*;
import java.io.IOException;

/**
 * @author tmjee
 * @version $Date$ $Id$
 *
 */
public class FooBarWikiServletContextListener implements ServletContextListener {

    private static ServletContext servletContext;


    public static ServletContext servletContext() {
        return servletContext;
    }

    public void contextInitialized(ServletContextEvent sce) {
        this.servletContext = sce.getServletContext();
    }

    public void contextDestroyed(ServletContextEvent sce) {
        servletContext = null;
    }
}